/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package we.session;

/**
 *
 * @author ADMIN
 */
public interface IoHandler {
    //support
    void Init();
    void SessionOpened(CSession session);
    //support

    void MessageReceived(CSession session, Object message);
    //support

    void SessionClosed(CSession session);

    void ExceptionCaught(CSession session, Throwable cause);

    void MessageSent(CSession session, Object message);

    void SessionCreated(CSession session);

    void SessionIdle(CSession session);
}
